//工作地点
var ja=[];
ja['0100']='﻿北京';
ja['0101']='北京市';
ja['0200']='上海';
ja['0201']='上海市';
ja['0300']='天津';
ja['0301']='天津市';
ja['0400']='重庆';
ja['0401']='重庆市';
ja['0500']='安徽';
ja['0501']='合肥市';
ja['0502']='安庆市';
ja['0503']='蚌埠市';
ja['0504']='亳州市';
ja['0505']='巢湖市';
ja['0506']='池州市';
ja['0507']='滁州市';
ja['0508']='阜阳市';
ja['0509']='淮北市';
ja['0510']='淮南市';
ja['0511']='黄山市';
ja['0512']='六安市';
ja['0513']='马鞍山市';
ja['0514']='宿州市';
ja['0515']='铜陵市';
ja['0516']='芜湖市';
ja['0517']='宣城市';
ja['0600']='福建';
ja['0601']='福州市';
ja['0602']='龙岩市';
ja['0603']='南平市';
ja['0604']='宁德市';
ja['0605']='莆田市';
ja['0606']='泉州市';
ja['0607']='三明市';
ja['0608']='厦门市';
ja['0609']='漳州市';
ja['0700']='甘肃';
ja['0701']='兰州市';
ja['0702']='白银市';
ja['0703']='定西市';
ja['0704']='甘南藏族自治州';
ja['0705']='嘉峪关市';
ja['0706']='金昌市';
ja['0707']='酒泉市';
ja['0708']='临夏回族自治州';
ja['0709']='陇南市';
ja['0710']='平凉市';
ja['0711']='庆阳市';
ja['0712']='天水市';
ja['0713']='武威市';
ja['0714']='张掖市';
ja['0800']='广东';
ja['0801']='广州市';
ja['0802']='潮州市';
ja['0803']='东莞市';
ja['0804']='佛山市';
ja['0805']='河源市';
ja['0806']='惠州市';
ja['0807']='江门市';
ja['0808']='揭阳市';
ja['0809']='茂名市';
ja['0810']='梅江区';
ja['0811']='梅州市';
ja['0812']='清远市';
ja['0813']='汕头市';
ja['0814']='汕尾市';
ja['0815']='韶关市';
ja['0816']='深圳市';
ja['0817']='阳江市';
ja['0818']='云浮市';
ja['0819']='湛江市';
ja['0820']='肇庆市';
ja['0821']='中山市';
ja['0822']='珠海市';
ja['0900']='广西';
ja['0901']='南宁市';
ja['0902']='百色市';
ja['0903']='北海市';
ja['0904']='崇左市';
ja['0905']='防城港市';
ja['0906']='贵港市';
ja['0907']='桂林市';
ja['0908']='河池市';
ja['0909']='贺州市';
ja['0910']='来宾市';
ja['0911']='柳州市';
ja['0912']='钦州市';
ja['0913']='梧州市';
ja['0914']='玉林市';
ja['1000']='贵州';
ja['1001']='贵阳市';
ja['1002']='安顺市';
ja['1003']='毕节地区';
ja['1004']='六盘水市';
ja['1005']='黔东南苗族侗族自治州';
ja['1006']='黔南布依族苗族自治州';
ja['1007']='黔西南布依族苗族自治州';
ja['1008']='铜仁地区';
ja['1009']='遵义市';
ja['1100']='海南';
ja['1101']='海口市';
ja['1102']='白沙黎族自治县';
ja['1103']='保亭黎族苗族自治县';
ja['1104']='昌江黎族自治县';
ja['1105']='澄迈县';
ja['1106']='儋州市';
ja['1107']='定安县';
ja['1108']='东方市';
ja['1109']='乐东黎族自治县';
ja['1110']='临高县';
ja['1111']='陵水黎族自治县';
ja['1112']='南沙群岛';
ja['1113']='琼海市';
ja['1114']='琼中黎族苗族自治县';
ja['1115']='三亚市';
ja['1116']='屯昌县';
ja['1117']='万宁市';
ja['1118']='文昌市';
ja['1119']='五指山市';
ja['1120']='西沙群岛';
ja['1121']='中沙群岛的岛礁及其海域';
ja['1200']='河北';
ja['1201']='石家庄市';
ja['1202']='保定市';
ja['1203']='沧州市';
ja['1204']='承德市';
ja['1205']='邯郸市';
ja['1206']='衡水市';
ja['1207']='廊坊市';
ja['1208']='秦皇岛市';
ja['1209']='唐山市';
ja['1210']='邢台市';
ja['1211']='张家口市';
ja['1300']='河南';
ja['1301']='郑州市';
ja['1302']='安阳市';
ja['1303']='鹤壁市';
ja['1304']='济源市';
ja['1305']='焦作市';
ja['1306']='开封市';
ja['1307']='洛阳市';
ja['1308']='漯河市';
ja['1309']='南阳市';
ja['1310']='平顶山市';
ja['1311']='濮阳市';
ja['1312']='三门峡市';
ja['1313']='商丘市';
ja['1314']='新乡市';
ja['1315']='信阳市';
ja['1316']='许昌市';
ja['1317']='周口市';
ja['1318']='驻马店市';
ja['1400']='黑龙江';
ja['1401']='哈尔滨市';
ja['1402']='大庆市';
ja['1403']='大兴安岭地区';
ja['1404']='鹤岗市';
ja['1405']='黑河市';
ja['1406']='鸡西市';
ja['1407']='佳木斯市';
ja['1408']='牡丹江市';
ja['1409']='七台河市';
ja['1410']='齐齐哈尔市';
ja['1411']='双鸭山市';
ja['1412']='绥化市';
ja['1413']='伊春市';
ja['1500']='湖北';
ja['1501']='武汉市';
ja['1502']='鄂州市';
ja['1503']='恩施土家族苗族自治州';
ja['1504']='黄冈市';
ja['1505']='黄石市';
ja['1506']='荆门市';
ja['1507']='荆州市';
ja['1508']='潜江市';
ja['1509']='神农架林区';
ja['1510']='十堰市';
ja['1511']='随州市';
ja['1512']='天门市';
ja['1513']='仙桃市';
ja['1514']='咸宁市';
ja['1515']='襄樊市';
ja['1516']='孝感市';
ja['1517']='宜昌市';
ja['1600']='湖南';
ja['1601']='长沙市';
ja['1602']='常德市';
ja['1603']='郴州市';
ja['1604']='衡阳市';
ja['1605']='怀化市';
ja['1606']='娄底市';
ja['1607']='邵阳市';
ja['1608']='湘潭市';
ja['1609']='湘西土家族苗族自治州';
ja['1610']='益阳市';
ja['1611']='永州市';
ja['1612']='岳阳市';
ja['1613']='张家界市';
ja['1614']='株洲市';
ja['1700']='吉林';
ja['1701']='长春市';
ja['1702']='白城市';
ja['1703']='白山市';
ja['1704']='吉林市';
ja['1705']='辽源市';
ja['1706']='四平市';
ja['1707']='松原市';
ja['1708']='通化市';
ja['1709']='延边朝鲜族自治州';
ja['1800']='江苏';
ja['1801']='南京市';
ja['1802']='常州市';
ja['1803']='淮安市';
ja['1804']='连云港市';
ja['1805']='南通市';
ja['1806']='苏州市';
ja['1807']='宿迁市';
ja['1808']='泰州市';
ja['1809']='无锡市';
ja['1810']='徐州市';
ja['1811']='盐城市';
ja['1812']='扬州市';
ja['1813']='镇江市';
ja['1900']='江西';
ja['1901']='南昌市';
ja['1902']='抚州市';
ja['1903']='赣州市';
ja['1904']='吉安市';
ja['1905']='景德镇市';
ja['1906']='九江市';
ja['1907']='萍乡市';
ja['1908']='上饶市';
ja['1909']='新余市';
ja['1910']='宜春市';
ja['1911']='鹰潭市';
ja['2000']='辽宁';
ja['2001']='沈阳市';
ja['2002']='鞍山市';
ja['2003']='本溪市';
ja['2004']='朝阳市';
ja['2005']='大连市';
ja['2006']='丹东市';
ja['2007']='抚顺市';
ja['2008']='阜新市';
ja['2009']='葫芦岛市';
ja['2010']='锦州市';
ja['2011']='辽阳市';
ja['2012']='盘锦市';
ja['2013']='铁岭市';
ja['2014']='营口市';
ja['2100']='内蒙古';
ja['2101']='呼和浩特市';
ja['2102']='阿拉善盟';
ja['2103']='巴彦淖尔市';
ja['2104']='包头市';
ja['2105']='赤峰市';
ja['2106']='鄂尔多斯市';
ja['2107']='呼伦贝尔市';
ja['2108']='通辽市';
ja['2109']='乌海市';
ja['2110']='乌兰察布市';
ja['2111']='锡林郭勒盟';
ja['2112']='兴安盟';
ja['2200']='宁夏';
ja['2201']='银川市';
ja['2202']='固原市';
ja['2203']='石嘴山市';
ja['2204']='吴忠市';
ja['2205']='中卫市';
ja['2300']='青海';
ja['2301']='西宁市';
ja['2302']='果洛藏族自治州';
ja['2303']='海北藏族自治州';
ja['2304']='海东地区';
ja['2305']='海南藏族自治州';
ja['2306']='海西蒙古族藏族自治州';
ja['2307']='黄南藏族自治州';
ja['2308']='玉树藏族自治州';
ja['2400']='山东';
ja['2401']='济南市';
ja['2402']='滨州市';
ja['2403']='德州市';
ja['2404']='东营市';
ja['2405']='菏泽市';
ja['2406']='济宁市';
ja['2407']='莱芜市';
ja['2408']='聊城市';
ja['2409']='临沂市';
ja['2410']='青岛市';
ja['2411']='日照市';
ja['2412']='泰安市';
ja['2413']='威海市';
ja['2414']='潍坊市';
ja['2415']='烟台市';
ja['2416']='枣庄市';
ja['2417']='淄博市';
ja['2500']='山西';
ja['2501']='太原市';
ja['2502']='长治市';
ja['2503']='大同市';
ja['2504']='晋城市';
ja['2505']='晋中市';
ja['2506']='临汾市';
ja['2507']='吕梁市';
ja['2508']='朔州市';
ja['2509']='忻州市';
ja['2510']='阳泉市';
ja['2511']='运城市';
ja['2600']='陕西';
ja['2601']='西安市';
ja['2602']='安康市';
ja['2603']='宝鸡市';
ja['2604']='汉中市';
ja['2605']='商洛市';
ja['2606']='铜川市';
ja['2607']='渭南市';
ja['2608']='咸阳市';
ja['2609']='延安市';
ja['2610']='榆林市';
ja['2700']='四川';
ja['2701']='成都市';
ja['2702']='阿坝藏族羌族自治州';
ja['2703']='巴中市';
ja['2704']='达州市';
ja['2705']='德阳市';
ja['2706']='甘孜藏族自治州';
ja['2707']='广安市';
ja['2708']='广元市';
ja['2709']='乐山市';
ja['2710']='凉山彝族自治州';
ja['2711']='泸州市';
ja['2712']='眉山市';
ja['2713']='绵阳市';
ja['2714']='内江市';
ja['2715']='南充市';
ja['2716']='攀枝花市';
ja['2717']='遂宁市';
ja['2718']='雅安市';
ja['2719']='宜宾市';
ja['2720']='资阳市';
ja['2721']='自贡市';
ja['2800']='西藏';
ja['2801']='拉萨市';
ja['2802']='阿里地区';
ja['2803']='昌都地区';
ja['2804']='林芝地区';
ja['2805']='那曲地区';
ja['2806']='日喀则地区';
ja['2807']='山南地区';
ja['2900']='新疆';
ja['2901']='乌鲁木齐市';
ja['2902']='阿克苏地区';
ja['2903']='阿拉尔市';
ja['2904']='阿勒泰地区';
ja['2905']='巴音郭楞蒙古自治州';
ja['2906']='博尔塔拉蒙古自治州';
ja['2907']='昌吉回族自治州';
ja['2908']='哈密地区';
ja['2909']='和田地区';
ja['2910']='喀什地区';
ja['2911']='克拉玛依市';
ja['2912']='克孜勒苏柯尔克孜自治州';
ja['2913']='石河子市';
ja['2914']='塔城地区';
ja['2915']='图木舒克市';
ja['2916']='吐鲁番地区';
ja['2917']='五家渠市';
ja['2918']='伊犁哈萨克自治州';
ja['3000']='云南';
ja['3001']='昆明市';
ja['3002']='保山市';
ja['3003']='楚雄彝族自治州';
ja['3004']='大理白族自治州';
ja['3005']='德宏傣族景颇族自治州';
ja['3006']='迪庆藏族自治州';
ja['3007']='红河哈尼族彝族自治州';
ja['3008']='丽江市';
ja['3009']='临沧市';
ja['3010']='怒江傈僳族自治州';
ja['3011']='曲靖市';
ja['3012']='思茅市';
ja['3013']='文山壮族苗族自治州';
ja['3014']='西双版纳傣族自治州';
ja['3015']='玉溪市';
ja['3016']='昭通市';
ja['3100']='浙江';
ja['3101']='杭州市';
ja['3102']='湖州市';
ja['3103']='嘉兴市';
ja['3104']='金华市';
ja['3105']='丽水市';
ja['3106']='宁波市';
ja['3107']='衢州市';
ja['3108']='绍兴市';
ja['3109']='台州市';
ja['3110']='温州市';
ja['3111']='舟山市';
ja['3200']='香港';
ja['3201']='九龙';
ja['3202']='香港岛';
ja['3203']='新界';
ja['3300']='澳门';
ja['3301']='澳门半岛';
ja['3302']='离岛';
ja['3400']='台湾';
ja['3401']='台北市';
ja['3402']='高雄市';
ja['3403']='高雄县';
ja['3404']='花莲县';
ja['3405']='基隆市';
ja['3406']='嘉义市';
ja['3407']='嘉义县';
ja['3408']='金门县';
ja['3409']='苗栗县';
ja['3410']='南投县';
ja['3411']='澎湖县';
ja['3412']='屏东县';
ja['3413']='台北县';
ja['3414']='台东县';
ja['3415']='台南市';
ja['3416']='台南县';
ja['3417']='台中市';
ja['3418']='台中县';
ja['3419']='桃园县';
ja['3420']='新竹市';
ja['3421']='新竹县';
ja['3422']='宜兰县';
ja['3423']='云林县';
ja['3424']='彰化县';

//主要城市数据字典
var maincity=[['华北-东北',['0100','0500','2303','2302','2402','2202']],['华东地区',['0200','0702','0703','0802','0803','1502','1102','1202','1203']],['华南-华中',['0302','0400','0308','1802','1902','1702']],['西北-西南',['2002','0902','0600','2502']]];
//所有省份数据字典
var allprov=[['',['0100','0200','0300','0400','0500','0600','1600','2100','2800','2300','2400','2200','0700','0800','1500','1100','1300','1200','1400','1000','1700','1800','1900','2000','2700','3200','2900','3100','0900','2600','2500','3000','3300','3400']]];


var allprovArray=new Array('1600','2100','2800','2300','2400','2200','0700','0800','1500','1100','1300','1200','0300','1400','1000','1700','1800','1900','2000','2700','3200','2900','3100','0900','2600','2500','3000');
//所有省+直辖市
var allProvDuchy=new Array('0100','0200','0300','0400','0500','0600','1600','2100','2800','2300','2400','2200','0700','0800','1500','1100','1300','1200','0300','1400','1000','1700','1800','1900','2000','2700','3200','2900','3100','0900','2600','2500','3000','3300','3400','3500','3600');

function getAreaIDs(idx){
	var newArr = new Array();
	for (var i in ja){
		if(i.substr(0,2)==idx.substr(0,2)){
			newArr[newArr.length]=i;
		}
	}
	return newArr;
}


/* function getAreaIDs(idx){
	switch(idx){
		case '0100':
			return new Array('0100');
		case '0200':
			return new Array('0200');
		case '0300':
			return new Array('0300','0302','0400','0303','0304','0305','0306','0307','0308','0310','0314','0315','0316','0317','0318','0319','0320','0321','0322','0323','0324','0325');
		case '0400':
			return new Array('0400');
		case '0500':
			return new Array('0500');
		case '0600':
			return new Array('0600');
		case '0700':
			return new Array('0700','0702','0703','0704','0705','0706','0707','0708','0709','0710','0711','0712','0713','0714');
		case '0800':
			return new Array('0800','0802','0803','0804','0805','0806','0807','0808','0809','0810','0811','0812');
		case '0900':
			return new Array('0900','0902','0903','0904','0905','0906','0907','0908','0909','0910');
		case '1000':
			return new Array('1000','1002','1003');
		case '1100':
			return new Array('1100','1102','1103','1104','1105','1106','1107','1108','1109','1110');
		case '1200':
			return new Array('1200','1202','1203','1204','1205','1206','1207','1208','1209','1210','1211','1212','1213');
		case '1300':
			return new Array('1300','1302','1303');
		case '1400':
			return new Array('1400','1402','1403','1404','1405');
		case '1500':
			return new Array('1500','1502','1503','1504','1505','1506','1507','1508','1509','1510','1511','1512','1513','1514','1515');
		case '1600':
			return new Array('1600','1602','1603','1604','1605','1606');
		case '1700':
			return new Array('1700','1702','1703','1704');
		case '1800':
			return new Array('1800','1802','1803','1804','1805','1806','1807','1808','1809','1810');
		case '1900':
			return new Array('1900','1902','1903','1904','1905','1906','1907','1908','1909','1910','1911','1912','1913','1914');
		case '2000':
			return new Array('2000','2002','2003','2004','2005','2006');
		case '2100':
			return new Array('2100','2102','2103','2104','2105');
		case '2200':
			return new Array('2200','2202','2203','2204','2205','2206','2207','2208');
		case '2300':
			return new Array('2300','2302','2303','2304','2305','2306','2307','2308','2309','2310','2311','2312');
		case '2400':
			return new Array('2400','2402','2403','2404','2405');
		case '2500':
			return new Array('2500','2502','2503','2504','2505','2506','2507','2508','2509','2510');
		case '2600':
			return new Array('2600','2602','2603');
		case '2700':
			return new Array('2700','2702','2703');
		case '2800':
			return new Array('2800','2802','2803','2804');
		case '2900':
			return new Array('2900','2902');
		case '3000':
			return new Array('3000','3002','3003');
		case '3100':
			return new Array('3100','3102','3103','3104');
		case '3200':
			return new Array('3200','3202');
		case '3300':
			return new Array('3300','3300');
		case '3400':
			return new Array('3400','3400');
		case '3500':
			return new Array('3500','3500');
		case '3600':
			return new Array('3600','3600');
		default:
			return new Array();
	}
} */